# 鼠标双击
import time

from selenium import webdriver
from selenium.webdriver.common.action_chains import ActionChains
driver = webdriver.Chrome()
driver.get("https://www.baidu.com/")
driver.find_element_by_id("kw").send_keys("新海诚")
su = driver.find_element_by_id("su")
ActionChains(driver).double_click(su).perform()
time.sleep(3)
driver.quit()